package memo.pojo;

import java.io.Serializable;
import java.util.Date;

import model.pojo.Employee;

public class ListMemo implements Serializable{
	private static final long serialVersionUID = 1L;
	private int id;
	private String title;
	private String content;
	private Employee employee = new Employee();
	private Date createdDate;
	private int status;
	
	public ListMemo(){
		this.title = "";
		this.content = "";
		this.createdDate = new Date();
		this.status = 0;
	}

	public ListMemo(String title, String content, Date createdDate, int status) {
		this.title = title;
		this.createdDate = createdDate;
		this.content = content;
		this.status = status;
	}
	
	public ListMemo(String title, String content, Employee employee,
			Date createdDate, int status) {
		this.title = title;
		this.content = content;
		this.employee = employee;
		this.createdDate = createdDate;
		this.status = status;
	}

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}

	public Employee getEmployee() {
		return employee;
	}
	public void setEmployee(Employee employee) {
		this.employee = employee;
	}
	public Date getCreatedDate() {
		return createdDate;
	}
	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getContent() {
		return content;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getStatus() {
		return status;
	}
}